package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品装箱对象 mes_package
 * 
 * @author guoxl
 * @date 2025-08-05
 */
public class MesPackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品标识 */
    private Long packId;

    /** 箱体码 */
    @Excel(name = "箱体码")
    private String packCode;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNumber;

    /** 装箱备注 */
    @Excel(name = "装箱备注")
    private String comments;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleted;

    /** 产品编码数组 */
    private String[] partIdentifiers;

    /** 产品编码 用于搜索*/
    private String partIdentifier;

    public void setPackId(Long packId) 
    {
        this.packId = packId;
    }

    public Long getPackId() 
    {
        return packId;
    }
    public void setPackCode(String packCode) 
    {
        this.packCode = packCode;
    }

    public String getPackCode() 
    {
        return packCode;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    public String[] getPartIdentifiers() 
    {
        return partIdentifiers;
    }

    public void setPartIdentifiers(String[] partIdentifiers) 
    {
        this.partIdentifiers = partIdentifiers;
    }

    public String getPartIdentifier() {
        return partIdentifier;
    }

    public void setPartIdentifier(String partIdentifier) {
        this.partIdentifier = partIdentifier;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packId", getPackId())
            .append("packCode", getPackCode())
            .append("orderNumber", getOrderNumber())
            .append("comments", getComments())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .append("partIdentifiers", getPartIdentifiers())
            .append("partIdentifier", getPartIdentifier())
            .toString();
    }
}